home
***
CD-ROM
|
disk
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 3.iso
/
dist
/
fw_qt3.idb
/
usr
/
freeware
/
Qt
/
.qt_wrapper.z
/
.qt_wrapper
(
.txt
)
Wrap
Microsoft Windows Help File Content
|
2002-04-08
|
1KB
|
36 lines
# .qt_wrapper
PROG=`basename $0`
FW_QT=0
if [ "$QTDIR" = "" ]
export QTDIR=/usr/freeware/Qt
if [ "$LD_LIBRARYN32_PATH" = "" ]
then
export LD_LIBRARYN32_PATH=$QTDIR/lib
else
export LD_LIBRARYN32_PATH=$QTDIR/lib:$LD_LIBRARYN32_PATH
if [ "$PATH" = "" ]
then
export PATH=$QTDIR/bin
else
export PATH=$QTDIR/bin:$PATH
case $QTDIR in
/usr/freeware/Qt) FW_QT=1 ;;
*) FW_QT=0 ;;
esac
case $PROG in
.qt_wrapper) echo ".qt_wrapper: utility script for fw_qt binaries"
echo ""
echo " QTDIR=/usr/freeware/Qt"
echo ""
if [ $FW_QT -ne 1 ]
then
echo "WARNING: non-default QTDIR value... [ $QTDIR ]"
echo ""
fi
exit ;;
*) ;;
if [ -f /usr/freeware/Qt/bin/$PROG ]
exec /usr/freeware/Qt/bin/$PROG $*
echo "WARNING: unable to run program... [ $PROG ]"
exit